package cn.iocoder.yudao.module.system.controller.admin.pay.vo;

import cn.iocoder.yudao.module.system.controller.admin.product.vo.ProductRespVO;
import cn.iocoder.yudao.module.system.controller.admin.productsku.vo.ProductSkuRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
@Schema(description = "支付中心 - 确认订单VO")
public class SystemPayConfirmRespVO {

    // 订单类型： 1-余额充值； 2-购买套餐； 3-单点续费
    private Integer orderType;

    private ProductRespVO productInfo;

    private ProductSkuRespVO skuInfo;

    private List<Long> userIdList;

    private List<String> usernameList;

    private Long ownerUserId;

    // 订单金额
    private BigDecimal totalPrice;

    // 优惠金额
    private BigDecimal couponPrice;

    // 其他优惠金额
    private BigDecimal moreCouponPrice;

    // 支付金额
    private BigDecimal payPrice;

    // 钱包余额
    private BigDecimal wallet;

    // 预支付订单号
    private String preOrderNo;

    // 订单的数量
    private Integer num;

    @Schema(name = "发货方式")
    private Integer deliveryType;

    @Schema(name = "收件人")
    private String receiver;

    @Schema(name = "联系方式")
    private String mobile;

    @Schema(name = "所在地")
    private Integer areaId;

    @Schema(name = "详细地址")
    private String detailAddress;
}
